package com.es.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author 咕唧
 * @Date 2022/6/22 17:08
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Book {

    @JsonProperty("name")
    private String name;
    @JsonProperty("author")
    private String author;
    @JsonProperty("date")
    private Date date;
    @JsonProperty("count")
    private Integer count;
    @JsonProperty("type")
    private String type;
    @JsonProperty("descr")
    private String descr;
}

